<style>

    textarea{

        resize: none;

    }

	.btn_box{

		    width: 100px;

    height: 40px;

    text-align: center;

    color: #fff;

    background: #26c17b;

    border: none;

    outline: none;

    cursor: pointer;

    display: block;

		}

</style>

<!-- 内容 -->

<div id="right_box">

<div class="right_a">

            <a href="/empress/wechart.php"><span class="right_box1 set_menu"><div class="btn_box">自定义菜单</div></span></a>

            <a href="/empress/wechart.php?action=subscribe"><span class="right_box1 set_menu" style="border:1px solid #fff"><div class="btn_box">首次关注设置</div></span></a>

            <a href="/empress/wechart.php?action=set_token"><span class="right_box1 set_menu" ><div class="btn_box">微信接口配置</div></span></a>
            <a href="/empress/wechart.php?action=material"><span class="right_box1 set_menu" ><div class="btn_box">图文消息管理</div></span></a>
            <a href="/empress/wechart.php?action=option_url"><span class="right_box1 set_menu" ><div class="btn_box">自定义URL</div></span></a>
        </div>

  <link href='/static/adm/css/main.css' rel='stylesheet' type='text/css' />

<link href='/static/adm/css/global.css' rel='stylesheet' type='text/css' />

<link href='/static/adm/css/wechat.css' rel='stylesheet' type='text/css' />

<script type='text/javascript' src='/static/adm/js/jquery.min.js'></script>

<script type='text/javascript' src='/static/adm/js/global.js'></script>

<script type='text/javascript' src='/static/adm/js/wechat.js?<?php echo time();?>'></script>

<link href='/static/adm/css/operamasks/operamasks-ui.css' rel='stylesheet' type='text/css' />

<script type='text/javascript' src='/static/adm/js/operamasks/operamasks-ui.min.js'></script>

<script type='text/javascript' src='/static/adm/js/masonry/masonry.min.js'></script>

<div class="wrap">

<script language="javascript">$(document).ready(wechat_obj.attention_init);</script>

<div id="attention" class="r_con_wrap">

	<form id="attention_reply_form" class="r_con_form" method="post">

		<div class="rows">

			<label>回复类型</label>

			<span class="input"><select name="replay_type">

				<option value="0" <?php if($attention_info['replay_type']==0){?>selected="selected"<?php }?>>文字消息</option>

				<option value="1" <?php if($attention_info['replay_type']==1){?>selected="selected"<?php }?>>图文消息</option>

			</select></span>

			<div class="clear"></div>

		</div>

		<div class="rows" id="text_msg_row">

			<label>回复内容</label>

			<span class="input"><textarea name="contents_txt"><?php echo $attention_info['contents_txt'];?></textarea></span>

			<div class="clear"></div>

		</div>

		<div class="rows" id="img_msg_row">

			<label>回复内容</label>

			<span class="input"><select name='contents_img'>

				<?php echo $resUrl;?>

				</select><a href="/empress material/index" class="material">素材管理</a></span>

			<div class="clear"></div>

		</div>

		<div class="rows" id="img_msg_row">

			<label>任意关键词</label>

			<span class="input">

			<label><input type="checkbox" value="1" name="keywords_any" <?php if($attention_info['keywords_any']==1){?>checked="checked"<?php }?> />

			<span class="tips">开启（开启后，当输入的关键字无相关的匹配内容时，则使用本设置回复）</span></label>

			</span>

			<div class="clear"></div>

		</div>

		<div class="rows">

			<label></label>

			<span class="input"><input type="submit" class="btn_green" name="submit_button" value="提交保存" /></span>

			<div class="clear"></div>

		</div>

       <input type="hidden" name="do_action" value="wechat.subscribe_set">

	</form>

</div>

</div>

</div>